package com.hoshiicloud.goods.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.goods.entity.goods.PublicProperties;

import java.util.List;

/**
 * @Author:campchen
 * @Date:Created in 下午 03:24 2019/7/26
 * @PACKAGENAME com.hoshiicloud.goods.service
 * @Description
 */
public interface PublicPropertiesService extends IService<PublicProperties> {
    PublicProperties getById(Long id);

    boolean save(PublicProperties publicProperties);

    boolean updateById(PublicProperties publicProperties);

    Page<PublicProperties> getPage(Page<PublicProperties> page, QueryWrapper<PublicProperties> queryWrapper, String key);


    List<String> queryDropdownBox(Long companyId, String propertyName, String key);
}
